body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 20px;
    height: 100vh;
}
.container {
    width: 90%;
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-height: 80vh;
}
h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #343a40;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}
input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
}
input:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.form-actions {
    text-align: center;
    margin-top: 30px;
}
button.query-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
button.query-btn:hover {
    background: #0056b3;
}
#product-list {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-height: 65vh;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.product-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}
.product-item:hover {
    transform: translateY(-3px);
}
.back-link {
    display: inline-block;
    margin-top: 25px;
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}
.back-link:hover {
    background: #5a6268;
}
@media (max-width: 768px) {
    #product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    #product-list {
        grid-template-columns: 1fr;
    }
    button.query-btn {
        width: 100%;
    }
}
